/**
 * @file
 * Vertex and edge class with a string as the data payload.
 */

#ifndef STRING_VERTEX_EDGE_H
#define STRING_VERTEX_EDGE_H

#include <iostream>
#include <string>

/**
 * Vertex and edge class with a string as the data payload.
 */
class StringVertexEdge
{
 public:
 StringVertexEdge(int id, std::string data) : id_(id), data_(data) { } 
  void print() { std::cerr << "Id: " << id_ << " Data: " << data_ << "\n";}
 friend bool operator==(StringVertexEdge &v1, StringVertexEdge &v2);
 private:
  int id_;
  std::string data_;
};

#endif // STRING_VERTEX_EDGE_H
